.layout-header {
  position: $fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 54px;
  line-height: 54px;
  padding: 0 20px;
  @include bg-color($background-color-header, $dark-background-color-header);
  color: $dark-color;
  z-index: 1010;
  user-select: none;
  clear: both;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  .layout-header-menu-icon {
    display: flex;
    cursor: pointer;
    margin-right: 10px;
    height: 54px;
    line-height: 54px;

    &:hover {
      color: $primary-color;
    }
  }

  .logo {
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    height: 100%;
    .logo-img {
      height: 50px;
    }

    .version {
      position: relative;
      right: 65px;
      top: 10px;
      font-size: 12px;
      height: 15px;
      line-height: 15px;
      color: rgba(255,255,255,0.65);
    }
  }

  .menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    vertical-align: top;
    margin-left: 60px;

    .menu-item {
      position: $relative;
      float: left;
      margin: 0 8px;
      padding: 0 4px;
      font-size: $font-size-base;
      text-align: center;
      text-indent: 0;
      border-right: none;
      white-space: nowrap;
      cursor: pointer;

      &.selected,
      &:hover {
        color: $body-background;
        // background: $dark-bg-dark;
      }

      .menu-item-beat {
        position: $absolute;
        top: 0;
        right: 0;
      }
    }
  }

  .icon-group {
    float: right;
    cursor: pointer;
    text-align: center;
    padding: 0 6px;
    line-height: 54px;
    height: 54px;
    font-size: $font-size-base;

    i {
      font-size: 20px;
      margin-right: 10px;

      &:hover {
        color: #fff;
      }
    }
  }

  .user {
    height: 54px;
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 0;
    .userName {
      span {
        display: inline-block;
        line-height: 54px;
        font-size: $font-size-base;
        padding: 0 7px 0 10px;
    }
    .user-icon {
      padding-right: 10px;
    }
    &:hover {
      color: #fff;
    }
    }
    // &.selected,
    // &:hover {
      // background: $menu-dark-active-bg;
    // }

    .user-image {
      border-radius: 50%;
      width: 40px;
      height: auto;
    }
  }
}
